package test07;

/**
 *
 * 传统方式
 *
 * @Author czl
 * @Date 2024-04-12
 */
public class MainTest {
    public static void main(String[] args) {
        Student student1 = new Student("Zs",18);

        if (student1.getName().equals("null")){
            System.out.println("匿名");
        }else {
            System.out.println(student1.getName().toLowerCase());
        }

    }
}
